package com.example.menuvirtualclient.view;

import java.util.List;

import com.example.menuvirtualclient.core.*;

import android.content.Context;
import android.os.Bundle;
import android.view.View;

public interface IView {

	/**
	 * 
	 * @param title
	 * @param message
	 */
	void SetMessage(String title, String message);
	/**
	 * 
	 * @param menus
	 */
	void LoadEntityList(List<Dish> dishes);
	/**
	 * 
	 * @param menus
	 */
	void LoadEntityList(int menuId);
	
	/**
	 * 
	 * @return
	 */
	Context GetContext();
	/**
	 * 
	 * @param table
	 */
	void GetOrder(String table, Restaurant restaurant);
		
	void GetOrderDetails(List<OrderDetail> orderDetails);
	/**
	 * 
	 */
	//void LoadMainMenu(MenuType[] seccion);	
	void LoadMainMenu(Menu[] menues);
	/**
	 * 
	 */
	void ShowEnquiry();
	
	void ShowTables();
	
	void CloseView(View v);
	
	void LoadRestaurant(Restaurant restaurant);
	
	public abstract void navigate(Class<?> destination);
    public abstract void navigate(Class<?> destination, boolean logoutFlag);
    public abstract void navigate(Class<?> destination, Bundle extras);
    public abstract void showError(String errorMessage);
}
